package com.vo;

import java.util.Date;

public class Revert {
    private int revertID;
    private int messageID;
    private String content;
    private String writer;
    private Date writeDate;

    // 构造方法、getter和setter
    public Revert() {}

    public Revert(int messageID, String content, String writer) {
        this.messageID = messageID;
        this.content = content;
        this.writer = writer;
        this.writeDate = new Date();
    }

    public int getRevertID() {
        return revertID;
    }

    public void setRevertID(int revertID) {
        this.revertID = revertID;
    }

    public int getMessageID() {
        return messageID;
    }

    public void setMessageID(int messageID) {
        this.messageID = messageID;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public Date getWriteDate() {
        return writeDate;
    }

    public void setWriteDate(Date writeDate) {
        this.writeDate = writeDate;
    }
}